﻿/* $RCSFile: AddoDisco.asmx.cs $
 * Apache license v2 2011 by Christian Surieux
 * $Source: ?/AddonNice/Services/AddoDisco.asmx.cs $
 * $log$
 * Revision 20 2010/08/10 17:55:42  christian.surieux
 *   Missing comments in asax asmx ashx files
 * Revision 19 2010/08/09 09:44:01  christian.surieux
 *   Added Log to cs sources files
 * Revision 6 2010/08/06 19:56:26  christian.surieux
 *   Added Log to All cs files
 */

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Services;

using AddonNice.UI;
using AddonNice.Design;
using AddonNice.UI.WebControls;
using AddonNice.Security;
using AddonNice.UI.DataTypes;
using AddonNice.Configuration;
using AddonNice.Diagnostics;
using AddonNice.Settings;

using AddonNice.CRMWrapper;
using AddonNice.CRMWrapper.Design;
using CrmSdk;


using Trace2    =   System.Diagnostics.Trace;
using Path2     =   AddonNice.Settings.Path;
using Cache2    =   AddonNice.Settings.Cache.CurrentCache;

namespace AddonNice.Services
{
    /// <summary>
    /// Summary description for AddoDisco
    /// </summary>
    [WebService(Namespace = "http://addonnice.org/")]
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    [System.ComponentModel.ToolboxItem(false)]
    // To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line. 
    [System.Web.Script.Services.ScriptService]
    public class AddoDisco : System.Web.Services.WebService
    {

        [WebMethod]
        public string GetInstallPhysicalPath()
        {
            return HttpRuntime.AppDomainAppPath;
        }
    }
}
